﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.TradeChannel
{
    /// <summary>
    /// 订单支付申请
    /// </summary>
    public interface IOrderPayApply
    {
        /// <summary>
        /// 开始时间
        /// </summary>
        DateTime StartTime { get; }

        /// <summary>
        /// 过期时间
        /// </summary>
        DateTime ExpireTime { get; }

        /// <summary>
        /// 客户端Ip
        /// </summary>
        string ClientIP { get; set; }     

        /// <summary>
        /// 获取订单号
        /// </summary>
        string OrderNo { get; }

        /// <summary>
        /// 标题
        /// </summary>
        string Subject { get; }

        /// <summary>
        /// 详情(体)
        /// </summary>
        string Body { get; }

        /// <summary>
        /// 获取或设置扩展参数
        /// </summary>
        string ExtraParam { get; }

        /// <summary>
        /// 订单金额
        /// </summary>
        decimal OrderMoney { get; }

        /// <summary>
        /// 获取用户标识(如微信 openId等)
        /// </summary>
        string UserToken { get; }

        /// <summary>
        /// 获取通道参数
        /// </summary>
        Dictionary<string, string> ChannelParams { get;  }
    }
}
